#!/bin/bash
date=`date +%F%H%M%S`;
who=`whoami`_;
a=`expr substr $date 1 4`;
m=`expr substr $date 6 2`;
d=`expr substr $date 9 2`;
hour=`expr substr $date 11 2`;
minute=`expr substr $date 13 2`;
second=`expr substr $date 15 2`; 
mm="m"
dd="d"
sep="_"
prot="projetRV_"
ext=".tar.gz"
fil=$prot$who$a$mm$m$dd$d$sep$hour$minute$second$ext;
cd ..;
tar cvzf $fil Projet

